package com.hbmcc.heshenghuo.functions.glide;

import android.graphics.Bitmap;
import android.graphics.BitmapFactory;

/**
 * 图片加载工具类
 *
 * @date 2020-6-2
 */
public class GlideUtils {
    public static Bitmap getSdBitmap(String pathFile) {
        Bitmap bitmap = null;
        try {
            // 实例化Bitmap
            bitmap = BitmapFactory.decodeFile(pathFile);
        } catch (OutOfMemoryError ignored) {

        }
        return bitmap;
    }
}
